#--
如果是 pjax 请求则只调用 main 函数
否则调用 doAdminLayout 函数
--#
#define adminLayout()
#if(isPjax)
#@main()
#else
#@doAdminLayout()
#end
#end
#define doAdminLayout()
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>CIIS 后台管理</title>
    <link rel="stylesheet" href="/assets/font/css/material-design-iconic-font.css?v=#(resource_version)">
    <link rel="stylesheet" href="/assets/animate/animate.css?v=#(resource_version)">
    <link rel="stylesheet" href="/assets/jquery/jquery.scrollbar.css?v=#(resource_version)">
    <link rel="stylesheet" href="/assets/flatpickr/flatpickr.css?v=#(resource_version)">
    <link rel="stylesheet" href="/assets/nestable/nestable.css?v=#(resource_version)">

    <link rel="stylesheet" href="/assets/nprogress/nprogress.css?v=#(resource_version)">
    <link rel="stylesheet" href="/assets/toastr/toastr.min.css?v=#(resource_version)">
    <link rel="stylesheet" href="/assets/jcrop/jquery.Jcrop.css?v=#(resource_version)">
    <link rel="stylesheet" href="/assets/dropzone/dropzone.css?v=#(resource_version)">
    <link rel="stylesheet" href="/assets/select2/dist/css/select2.css?v=#(resource_version)">
    <!-- App styles -->
    <link rel="stylesheet" href="/assets/app/app.css?v=#(resource_version)">
    <link rel="stylesheet" href="/assets/sweetalert2/dist/sweetalert2.min.css?v=#(resource_version)">


    <!-- Javascript -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script>
    <script src="/assets/bootstrap/bootstrap.js?v=#(resource_version)"></script>
    <script src="https://cdn.jsdelivr.net/npm/jquery-scroll-lock@3.1.2/jquery-scrollLock.min.js"></script>
    <script src="/assets/jquery/jquery.scrollbar.js?v=#(resource_version)"></script>
    <script src="https://cdn.jsdelivr.net/npm/flatpickr@4.6.3/dist/flatpickr.min.js"></script>
    <script src="/assets/flatpickr/rangePlugin.js?v=#(resource_version)"></script>
    <script src="https://cdn.jsdelivr.net/npm/easy-pie-chart@2.1.6/dist/easypiechart.min.js"></script>
    <script src="/assets/nprogress/nprogress.js?v=#(resource_version)"></script>
    <script src="https://cdn.jsdelivr.net/npm/jquery-form@4.3.0/dist/jquery.form.min.js"></script>
<!--    <script src="/assets/jquery_form/jquery.form.js?v=#(resource_version)"></script>-->
    <script src="https://cdn.jsdelivr.net/npm/jquery-pjax@2.0.1/jquery.pjax.min.js"></script>
<!--    <script src="/assets/jquery_pjax/jquery.pjax.js?v=#(resource_version)"></script>-->
    <script src="https://cdn.jsdelivr.net/npm/toastr@2.1.4/toastr.min.js"></script>
<!--    <script src="/assets/toastr/toastr.min.js?v=#(resource_version)"></script>-->
    <script src="/assets/jcrop/jquery.Jcrop.js?v=#(resource_version)"></script>

    <script src="/assets/select2/dist/js/select2.min.js?v=#(resource_version)"></script>
    <script src="/assets/sweetalert2/dist/sweetalert2.min.js?v=#(resource_version)"></script>

    <script src="/assets/waves/waves.min.js?v=#(resource_version)"></script>
    <script src="/assets/lightgallery/lightgallery.min.js?v=#(resource_version)"></script>
    <script src="/assets/lightgallery/lg-fullscreen.min.js?v=#(resource_version)"></script>
    <script src="/assets/lightgallery/lg-thumbnail.min.js?v=#(resource_version)"></script>
    <script src="/assets/lightgallery/lg-video.min.js?v=#(resource_version)"></script>
    <script src="/assets/lightgallery/lg-zoom.min.js?v=#(resource_version)"></script>
    <script src="/assets/dropzone/dropzone.js?v=#(resource_version)"></script>
    <script src="https://cdn.jsdelivr.net/npm/reconnectingwebsocket@1.0.0/reconnecting-websocket.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/way-js@0.2.1/dist/way.min.js"></script>
<!--    <script src="/assets/way/way.js?v=#(resource_version)"></script>-->
<!--    <script src="https://cdn.jsdelivr.net/npm/way.js@0.0.0/index.min.js"></script>-->
    <script src="/assets/app/jmis-admin.js?v=#(resource_version)" defer></script>
    <script src="/assets/app/app.min.js?v=#(resource_version)"></script>
    <script src="/assets/flatpickr/zh.js?v=#(resource_version)"></script>
    <script src="/assets/nestable/role_nestable.js?v=#(resource_version)"></script>

</head>

<!--oncontextmenu="return false" oncopy="return false;" oncut="return false;"-->
<body data-ma-theme="green">
<main class="main">
    <!--<div class="page-loader">
        <div class="page-loader__spinner">
            <svg viewBox="25 25 50 50">
                <circle cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"/>
            </svg>
        </div>
    </div>-->

    <header class="header">
        <div class="navigation-trigger toggled" data-ma-action="aside-open" data-ma-target=".sidebar">
            <div class="navigation-trigger__inner">
                <i class="navigation-trigger__line"></i>
                <i class="navigation-trigger__line"></i>
                <i class="navigation-trigger__line"></i>
            </div>
        </div>

        <div class="header__logo hidden-sm-down">
            <h1><a data-pjax href="/"  title="主页">#(setting.name??)</a>
            </h1>
        </div>

        <div class="ma-backdrop" data-ma-action="aside-close" data-ma-target=".sidebar"></div>
        <button class="btn btn-info" id="left"
                style="background-color: transparent;box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0);"><i
                class="zmdi zmdi-arrow-back"></i>
        </button>
        <div style="width: 100%; overflow: hidden;">
            <ul class="nav" id="nav_menu" style="position: relative;">
                <!--<li class="nav-item">
                    <a class="nav-link active text-white" href="#" data-val=""></a>
                </li>-->
            </ul>
        </div>
        <button class="btn btn-info" id="right"
                style="background-color: transparent;box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0);"><i
                class="zmdi zmdi-arrow-forward"></i>
        </button>
        #include("_header_right.html")
    </header>
    #include("_menu.html")
    <section class="content content--full" id="pjax-container" style="padding: 102px 30px 0px 280px;">
        #@main()
    </section>
    <footer class="footer hidden-xs-down">
        <p id="ownershipFiling">#(setting.ownership)&emsp;<a href="http://www.beian.miit.gov.cn/">#(setting.filing)</a></p>
    </footer>
</main>
</body>
</html>
#end